package com.ruoyi.jl.service.impl;

import com.ruoyi.jl.mapper.HomeMapper;
import com.ruoyi.jl.service.IHomeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Thinkpad on 2019/5/24.
 */
@Service
@Slf4j
public class HomeServiceImpl implements IHomeService {
    @Autowired
    HomeMapper homeMapper;
    @Override
    public List<Map<String, Object>> revenueGold(Map<String, Object> paramMap) {
        List<Map<String, Object>> list = homeMapper.revenueGold(paramMap);
        return list;
    }

    @Override
    public Map<String, Object> queryGoldInfo() {
        Map<String, Object> map = homeMapper.queryGoldInfo();
        return map;
    }
}
